<%@ page language="java" contentType="text/html; charset=UTF-8"
		 pageEncoding="UTF-8"%>
<%@taglib prefix="mvc" uri="http://www.springframework.org/tags/form" %>
<%@taglib prefix="fmt" uri="http://www.springframework.org/tags" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<%--<%@ page contentType="text/html;charset=UTF-8" language="java" %>--%>
<html>
<head>
	<title>日志查询</title>
	<meta charset="UTF-8">
	<%--<meta http-equiv="Content-Type" content="text/html; charset=utf-8 ? MYOA_CHARSET : htmlspecialchars($HTML_PAGE_CHARSET))?>" />--%>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<%--<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">--%>
	<link rel="stylesheet" type="text/css" href="../../css/workflow/m_reset.css?20190626">
	<link rel="stylesheet" type="text/css" href="../../css/workflow/work/workMonitor.css">
	<link rel="stylesheet" href="../../css/officialDocument/officialDocument.css">
	<link rel="stylesheet" type="text/css" href="../../lib/pagination/style/pagination.css"/>
	<link rel="stylesheet" type="text/css" href="../../css/base.css" />
	<link rel="stylesheet" type="text/css" href="/css/base/base.css?20201106.1" />
	<link rel="stylesheet" href="/lib/layer/skin/default/layer.css">
	<link rel="stylesheet" type="text/css" href="../../css/workflow/work/handle.css"/>
	<script type="text/javascript" src="/js/jquery/jquery-1.9.1.js"></script>
	<script type="text/javascript" src="/js/base/tablePage.js"></script>
	<script src="/lib/layer/layer.js?20201106"></script>
	<script src="/js/base/base.js"></script>
	<script src="../../lib/laydate/laydate.js"></script>
	<script src="../../js/workflow/work/workform.js"></script>
	<script src="/js/workflow/work/flowDiaryQuery.js"></script>
	<script src="../../lib/pagination/js/jquery.pagination.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../js/jquery/jquery.cookie.js"></script>

	<style>
		*{
			overflow-y:hidden;
		}
		input{
			float:none;
			border:1px solid #ccc;
		}
		.workMon {
			font-size: 22px;
			font-weight: normal;
			line-height: 45px;
			float: none;
			margin-top: 9px;
			font-size: 22px;
			color: #333;
		}
		.flowNum, .artNum, #user,#startTime,#endTime ,#IP{
			width: 123px;
			border-radius: 3px;
			height: 28px;
		}
		.prcsName h1 {
			text-align: center;
			line-height: 35px;
		}
		.layui-layer-page .layui-layer-content {
			overflow-x: hidden !important;
		}
		.pagediv .page-bottom-outer-layer table td{
			font-weight: normal;
			overflow: visible;
			white-space: normal;
			height: 40px;
			padding: 4px;
			box-sizing: border-box;
			text-overflow: clip;
			word-break:break-all;
			font-size: 10pt;
			text-align: left;
		}
		.header{
			border: none;
		}
		.title {
			margin-top: 10px;
		}
	</style>
	<%--<link rel="stylesheet" type="text/css" href="/css/commonTheme/${sessionScope.InterfaceModel}/commonTheme.css"/>--%>
</head>
<body>
<div class="mainCon">
	<div class="header" style="background-color:white ">
		<div class="title">
			<img src="/img/commonTheme/${sessionScope.InterfaceModel}/gongzuojiankong.png" alt="" style="margin-bottom:10px;">
			<h3 style="display:inline;" class="workMon">日志查询</h3>
		</div>
	</div>
	<div class="section">
		<div class="selectNav" style="padding-top: 63px;padding-bottom: 13px">
			<label style="margin-left: 20px">日志时间：</label>
			<input type="text" id="startTime" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})">
			<span>~</span>
			<input type="text" id="endTime" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})">


			<label style="margin-left: 10px">内容：</label>
			<input type="text" class="flowNum" name="runId">

			<button id="query"  style="margin-top: 5px;margin-left: 13px">
				<img src="../../img/workflow/worksearch.png" style="margin-right: 2px;margin-left:5px;margin-bottom: 1px;">
				<span style="margin-right: 5px;"><fmt:message code="global.lang.query"/></span>
			</button>

		</div>
	</div>

	<div id="pagediv">

	</div>
</div>
</body>
</html>
<script>
    $(function () {
        var screenwidth = document.documentElement.clientWidth;
        // console.log(screenwidth*0.9)
        if (screenwidth  > 1600) {
            var nums = screenwidth * 0.97;
            var sumwidth = screenwidth * 0.97 + 'px';
        } else {
            var nums = 1200;
            var sumwidth = '1200px';
        }
        var width0 = nums * 0.045 + 'px';
        var width1 = nums * 0.065 + 'px';
        var width2 = nums * 0.075 + 'px';
        var width3 = nums * 0.165 + 'px';
        //表格数据初始化展示
        var pageObj = $.tablePage('#pagediv',sumwidth, [
            {
                width: width0,
                title: '选择',
                name: 'contractNo',
                selectFun:function (runId,obj) {
                    return '<input type="checkbox" id="'+obj.runId+'" name="checkbox" class="check"/>';
                }
            },
            {
                width:  width1,
                title: '用户名',
                name: 'contractName'
            },
            {
                width:  width2,
                title: '时间',
                name: 'content'

            },
            {
                width:  width3,
                title: '备注',
                name: 'content'

            },
        ], function (me) {
            me.data.flag = 0;
            me.data.pageSize = 10;
            me.init('/crmContract/selectCrmContract', [
            ],function () {

            })
        })
    });
</script>